const state = {
    sideFull: false,
    loginBeforeRouter: ''
};

const mutations = {
    UPDATE_SIDEFULL(state, value) {
        state.sideFull = value;
    },
    UPDATE_LOGIN_BEFORE_ROUTER(state, value) {
        state.loginBeforeRouter = value;
    }
};
const actions = {
    // 侧栏系统菜单是否显示完整数据
    update_sideFull({ commit }, value) {
        commit('UPDATE_SIDEFULL', value);
    },
    // 存储当前路由
    update_loginBeforeRouter({ commit }, value) {
        commit('UPDATE_LOGIN_BEFORE_ROUTER', value);
    }
};
export default {
    namespaced: true,
    state,
    mutations,
    actions
};
